#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>

int main(int argc, char **argv)
{
    char *s;
    scanf("%s",s);

    int fd = open(s, O_RDWR);

    for (char i='a' ;i <='z';i++)
    {
        write(fd, &i, 1);
    }


    return 0;
}